package com.century.sjt.activity.setting;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.LinearLayout;

import com.century.sjt.R;
import com.century.sjt.activity.BaseActivity;
import com.century.sjt.widget.TitleBar.SjtTitleBar;

/**
 * @author:周玲波
 * @Description: 设置密码
 * @date : 2016/8/18 21:29
 */
public class Set_pwdActivity  extends BaseActivity {
    private SjtTitleBar titleBar;
    private LinearLayout Set_Pwd1,Set_Pwd2;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.set_setting_pwd_activity);
        initView();
    }

    @Override
    protected void initView() {
        Set_Pwd1=(LinearLayout) findViewById(R.id.set_pwd_dl);
        Set_Pwd2=(LinearLayout) findViewById(R.id.set_pwd_zf);
        titleBar = (SjtTitleBar) findViewById(R.id.settint_pwd_title);
        titleBar.setLeftIconResource(getResources().getString(R.string.icon_return));
        titleBar.setTitle(getResources().getString(R.string.tab_pwdsz));
        titleBar.setLeftLayoutClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                finish();
            }
        });

        Set_Pwd1.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent();
                intent.setClass(Set_pwdActivity.this, Setting_pwdActivity.class);
                startActivity(intent);
            }
        });
        Set_Pwd2.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent();
                intent.setClass(Set_pwdActivity.this, Setting_pwdPayActivity.class);
                startActivity(intent);
            }
        });


    }

    @Override
    protected void initEvent() {

    }

    @Override
    protected void initData() {

    }
}
